import pygtk
pygtk.require('2.0')
import gtk
import os

class ConfigPage(gtk.VBox):
        
    def build(self):
                
        # parameter homogeneous, spacing
        hTryBox = gtk.HBox(False,10)
        hTryBox.show()
        
        lblTry = gtk.Label("Try:")
        lblTry.show()
        
        self.entryTry = gtk.Entry()
        self.entryTry.set_text("8")
        self.entryTry.show()
        
        hTryBox.pack_start(lblTry, False, False, 10)
        hTryBox.pack_start(self.entryTry, False, False, 10)

        hDigitBox = gtk.HBox(False,10)
        hDigitBox.show()
        
        lblDigitBox = gtk.Label("Digit:")
        lblDigitBox.show()

        self.entryDigit = gtk.Entry()
        self.entryDigit.set_text("4")
        self.entryDigit.show()

        hDigitBox.pack_start(lblDigitBox, False, False, 10)
        hDigitBox.pack_start(self.entryDigit, False, False, 10)
        
        # parameters child, expand, fill, padding
        self.pack_start(hTryBox, False, False, 10)
        self.pack_start(hDigitBox, False, False, 10)


    def __init__(self):
        
        # ten pixels space
        gtk.VBox.__init__(self, False, 10)
       
        self.build()
        self.show()